package vn.com.pavibook.model.vo;

import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

public class BannerVO {
	 private int id;
	 
	 private String nameFile;
	 
	 private String urlFile;
	 
	 private Date createDate;
	 
	 @NotEmpty(message="Nhập Thông tin")
	 private String type;
	 
	 private boolean active;
	 
	 private CommonsMultipartFile fileBannerUpload;

	public BannerVO() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNameFile() {
		return nameFile;
	}

	public void setNameFile(String nameFile) {
		this.nameFile = nameFile;
	}

	public String getUrlFile() {
		return urlFile;
	}

	public void setUrlFile(String urlFile) {
		this.urlFile = urlFile;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public CommonsMultipartFile getFileBannerUpload() {
		return fileBannerUpload;
	}

	public void setFileBannerUpload(CommonsMultipartFile fileBannerUpload) {
		this.fileBannerUpload = fileBannerUpload;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
